package interf1;

public class ExB implements X {
	public static int y = 10;
	private int z = 20;

	public int getx() {
		return x;
	}

	public String toString() {
		return " This object has: x: " + x + " y: " + y + " z: " + z;
	}

	public int gety() {
		return y;
	}
}
